﻿/*
    Autor : Roger Medeiros
    Data  : 01/02/2012
    Site  : www.interacaosistemas.com.br
*/

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Reflection;

namespace i9PgAdmin
{
    public partial class FrmSobre : Form
    {
        public FrmSobre()
        {
            InitializeComponent();
        }

        private void label4_Click(object sender, EventArgs e)
        {
            Process.Start("http://www.interacaosistemas.com.br");
        }

        private void lblSair_Click(object sender, EventArgs e)
        {

        }

        private void imgSair_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void FrmSobre_Load(object sender, EventArgs e)
        {
            this.lblVersao.Text = Application.ProductVersion;
            var arquivo = Application.ExecutablePath.ToLower().Replace("i9pgadmin.exe", "") + "i9PgAdmin.Core.dll";
            Assembly a = Assembly.LoadFile(arquivo);
            this.lblCore.Text = a.GetName().Version.ToString() ;
        }
    }
}